package com.mustafaiev.tair.cts.validation;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

import com.mustafaiev.tair.cts.dto.GroupDTO;
import com.mustafaiev.tair.cts.service.GroupService;

public class GroupValidator implements Validator {

	private final GroupService groupService;

	public GroupValidator(final GroupService groupService) {
		this.groupService = groupService;
	}

	@Override
	public boolean supports(final Class<?> obj) {
		return obj.equals(GroupDTO.class);
	}

	@Override
	public void validate(final Object obj, final Errors err) {

	}

}
